//
//  ProfileViewcontroller.h
//  IntroductionApp
//
//  Created by brave on 11/08/04.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "SAConnectedApi.h"
#import "CMPopTipView.h"

@interface ProfileViewcontroller : UIViewController <SAConnectedApiDelegate,UITableViewDataSource,UITableViewDelegate,CMPopTipViewDelegate>{
    
}
@property(nonatomic,retain)IBOutlet UIView *profileView;
@property(nonatomic,retain)IBOutlet UIButton *infoBtn;
@property(nonatomic,retain)IBOutlet UITableView *NewsTable;

@property(nonatomic,retain)SAConnectedApi *ApiRequest;
@property(nonatomic,retain)NSArray *NewsAry;

-(IBAction)infoBtnTouchupInside:(id)sender;

/* 通信 */ 
-(void)getNewsFile;

/* API */
-(void)getNewsAPI;

/* plist */
-(void)readNewsPlist;

/* popover */
- (void)dismissAllPopTipViews;
- (void)displayPopover;

@end
